package com.example.football.controller;

import com.example.football.pojo.People;
import com.example.football.pojo.Peopleliketeam;
import com.example.football.pojo.Result;
import com.example.football.service.PeopleliketeamService;
import com.example.football.service.PeopleliketeamServiceImpl;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class AppPeopleliketeamController {
    @Resource
    private PeopleliketeamServiceImpl cc;

    @PostMapping("/APPaddPeopleliketeam")
    public Result insert(@RequestBody Peopleliketeam peopleliketeam){
        return cc.insert(peopleliketeam);
    }
}
